package com.dating.beetl.funs;

import org.beetl.core.Context;
import org.beetl.core.Function;
import org.nutz.mvc.Mvcs;

import com.dating.base.vo.SystemSetting;


/**
 * 
 * @author tovish
 *
 */
public class LoginUserFun implements Function {

	@Override
	public Object call(Object[] paras, Context ctx) {
		return Mvcs.getReq().getSession().getAttribute(SystemSetting.SESSION_USER_KEY);
	}

}
